package com.ruoyi.management.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * t_drug_manage_time
 */
public class DrugManageTime {
    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long drugId;

    /**
     * 吃药时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date eatDrugTime;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date actualEatDrugTime;

    /**
     * 吃药数量（几片）
     */
    private Integer eatDrugQuantity;

    /**
     * 是否已服用：0：否  1：是
     */
    private int status;

    private Long createorId;

    private String eatImg;//饭钱服药照片

    /**
     * 强度
     */
    private Double strength;//强度


    private String eatImgBack;//饭后服药照片


    /**
     * 吃药前药盒个数
     */
    private Integer eatYhNum;

    /**
     * 吃药前药盒有药数量
     */
    private Integer eatDrugYhNum;

    /**
     * 吃药后的药盒有药数量
     */
    private Integer eatDrugBackYhNum;

    /**
     * 吃药后药盒个数
     */
    private Integer eatBackYhNum;



    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return drug_id
     */
    public Long getDrugId() {
        return drugId;
    }

    /**
     * @param drugId
     */
    public void setDrugId(Long drugId) {
        this.drugId = drugId;
    }

    /**
     * 吃药时间
     *
     * @return eat_drug_time 吃药时间
     */
    public Date getEatDrugTime() {
        return eatDrugTime;
    }

    /**
     * 吃药时间
     *
     * @param eatDrugTime 吃药时间
     */
    public void setEatDrugTime(Date eatDrugTime) {
        this.eatDrugTime = eatDrugTime;
    }

    /**
     * 吃药数量（几片）
     *
     * @return eat_drug_quantity 吃药数量（几片）
     */
    public Integer getEatDrugQuantity() {
        return eatDrugQuantity;
    }

    /**
     * 吃药数量（几片）
     *
     * @param eatDrugQuantity 吃药数量（几片）
     */
    public void setEatDrugQuantity(Integer eatDrugQuantity) {
        this.eatDrugQuantity = eatDrugQuantity;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getEatImg() {
        return eatImg;
    }

    public void setEatImg(String eatImg) {
        this.eatImg = eatImg;
    }

    public Double getStrength() {
        return strength;
    }

    public void setStrength(Double strength) {
        this.strength = strength;
    }

    public String getEatImgBack() {
        return eatImgBack;
    }

    public void setEatImgBack(String eatImgBack) {
        this.eatImgBack = eatImgBack;
    }

    public Date getActualEatDrugTime() {
        return actualEatDrugTime;
    }

    public void setActualEatDrugTime(Date actualEatDrugTime) {
        this.actualEatDrugTime = actualEatDrugTime;
    }

    public Long getCreateorId() {
        return createorId;
    }

    public void setCreateorId(Long createorId) {
        this.createorId = createorId;
    }

    public Integer getEatYhNum() {
        return eatYhNum;
    }

    public void setEatYhNum(Integer eatYhNum) {
        this.eatYhNum = eatYhNum;
    }

    public Integer getEatDrugYhNum() {
        return eatDrugYhNum;
    }

    public void setEatDrugYhNum(Integer eatDrugYhNum) {
        this.eatDrugYhNum = eatDrugYhNum;
    }

    public Integer getEatDrugBackYhNum() {
        return eatDrugBackYhNum;
    }

    public void setEatDrugBackYhNum(Integer eatDrugBackYhNum) {
        this.eatDrugBackYhNum = eatDrugBackYhNum;
    }

    public Integer getEatBackYhNum() {
        return eatBackYhNum;
    }

    public void setEatBackYhNum(Integer eatBackYhNum) {
        this.eatBackYhNum = eatBackYhNum;
    }
}